﻿namespace PlaylistCopy.Services
{
    using System;
    using System.Windows;

    public interface IDialogService
    {
        string OpenSingleFile(string initDirectory, string filter);

        string OpenFolder(string description = null);

        string SaveSingleFile(string initDirectory, string filter);

        void ProgressDialog(Action<IWorkArguments> work, string title = null, string description = null);

        void ShowDialog(string title, string message, MessageBoxButton buttons, MessageBoxImage image);
    }

    public interface IWorkArguments
    {
        bool IsCancelling { get; }

        void ReportProgress(int percent, string text, string description);
    }

}
